//
//  THJChangeBtnCell.m
//  THJXHW
//
//  Created by 河南德艺 on 2017/9/21.
//  Copyright © 2017年 河南德艺. All rights reserved.
//

#import "THJChangeBtnCell.h"

@implementation THJChangeBtnCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)btn1Clicked:(id)sender {
    self.lineBtn.frame = CGRectMake(0, 41, ScreenWidth/3, 2);
    [self.delegate changeBtnClickedWith:1];
}
- (IBAction)btnCenterClike:(id)sender {
    self.lineBtn.frame = CGRectMake(ScreenWidth/3, 41, ScreenWidth/3, 2);
    [self.delegate changeBtnClickedWith:2];
}
- (IBAction)btn2Clicked:(id)sender {
    self.lineBtn.frame = CGRectMake(ScreenWidth/3*2, 41, ScreenWidth/3, 2);
    [self.delegate changeBtnClickedWith:3];
}

@end
